package com.retail.system.client;

import com.retail.core.entity.result.Result;
import com.retail.system.entity.vo.AdminVo;
import com.retail.system.entity.vo.SimpleTreeVo;
import com.retail.system.entity.vo.TableTreeVo;

import java.util.List;

public interface AdminClient {

    /**
     * 查询table
     * @param adminId
     * @return
     */
    Result<List<AdminVo>> adminGroupTableTree(Long adminId);

    Result<List<SimpleTreeVo>> adminSimpleTree(Long adminId, Integer level);
}
